<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>10.徽章</title>

<!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->

    <link rel="stylesheet" href="../css/bootstrap.css" type="text/css"/>
    <script type="text/javascript" src="../js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="../js/bootstrap.js"></script>

</head>

<body>

    <div class="container">
    
    	<a href="#">
        	未读消息
            <span class="badge">17</span>
        </a>
        
        <button type="button" class="btn btn-primary">
        	您有新消息
            <span class="badge">17</span>
        </button>
        
        <button type="button" class="btn btn-primary">
        	您有新消息
            <span class="badge"></span>
        </button>
        
        <br><br>

        <ul class="nav nav-pills">
        	<li><a href="#">体育新闻<span class="badge">17</span></a></li>
            <li class="active"><a href="#">娱乐新闻<span class="badge">5</span></a></li>
            <li><a href="#">财经新闻<span class="badge">46</span></a></li>
        </ul>
    </div>
    
</body>
</html>